package com.fer.t1.client.pages.multiStep;

import java.util.ArrayList;
import java.util.List;

import com.fer.t1.client.View;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;

public abstract class MultiStepView extends View<MultiStepHandler> {

	private List<Composite> steps;
	private SimplePanel panel;
	
	public MultiStepView() {
		panel = new SimplePanel();
		initWidget(panel);
		
		steps = new ArrayList<Composite>();
	}
	
	public SimplePanel getPanel()
	{
		return panel;
	}

	public void addStep(Composite view)
	{
		steps.add(view);
	}
	
	public List<Composite> getSteps()
	{
		return steps;
	}
	
}
